//
//  Commen.swift
//  weibo10
//
//  Created by mac on 15/10/18.
//  Copyright © 2015年 itheima. All rights reserved.
//

import UIKit

// MARK: -设置全局外观颜色
let WbAppearanceTintColor = UIColor.orangeColor()
// MARK: -设置全局通知
let WBSwitchRootViewControllerNotification = "WBSwitchRootViewControllerNotification"
func delay(disdelay:Double,callBack:() -> ()){
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(disdelay * Double( NSEC_PER_SEC))),
    dispatch_get_main_queue()) { () -> Void in
        callBack()
    }
}
